﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/Admin.Master" AutoEventWireup="true" CodeBehind="usermanage.aspx.cs" Inherits="CompanyCMS.Admin.usermanage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div>
        <asp:Button ID="btn" runat="server" Text="添加" OnClick="btn_Click"/>
    </div>
    <div>
        <asp:GridView ID="gvUser" runat="server" 
            OnRowDeleting="gvUser_RowDeleting"
            Font-Size="12px"
             OnRowDeleted="gvUser_RowDeleted" AutoGenerateColumns="false" AutoGenerateDeleteButton="false">
            <Columns>
                <asp:BoundField DataField="AdminId" HeaderText="账号" />
                <asp:BoundField DataField="Password" HeaderText="密码" />
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
            </Columns>
            <HeaderStyle BackColor="Azure" Font-Size="16px" HorizontalAlign="Center" />
            <RowStyle HorizontalAlign="Center" />
            <PagerStyle HorizontalAlign="Center" />
        </asp:GridView>
    </div>
</asp:Content>
